{include file="./layout/header.html" /}
<body>
<div class="x-nav">
  <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:left" onClick="javaScript:history.go(-1)" title="返回">
    <i class="layui-icon" style="line-height:30px">&#xe65c;</i></a>

  <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
    <i class="layui-icon" style="line-height:30px">ဂ</i></a>
</div>
<div class="x-body">
  <div class="layui-row">
    <form class="layui-form layui-col-md12 x-so">
      <input class="layui-input" placeholder="开始日" name="start" id="start">
      <input class="layui-input" placeholder="截止日" name="end" id="end">
      <input type="text" name="username"  placeholder="请输入用户名" autocomplete="off" class="layui-input">
      <button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
    </form>
  </div>
  <xblock>
    <input type="hidden" id="sid" value="{$sid}">
    <!--<button class="layui-btn layui-btn-danger" onclick="delAll()"><i class="layui-icon"></i>批量删除</button>-->
    <!--<button class="layui-btn" onclick="x_admin_show('添加','{:url("Confervisa/create")}?sid={$sid}')"><i class="layui-icon"></i>添加</button>-->
    {present name="$total"}
    <span class="x-right" style="line-height:40px">共有数据：<span >{$total}</span> 条</span>
    <input type="hidden" id="total" value="{$total}">
    {/present}
  </xblock>
  <table class="layui-table">
    <thead>
    <tr>
      <th>
        <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>
      </th>
      <th>排序</th>
      <th>关系</th>
      <th>全名</th>
      <th>性别</th>
      <th>国籍</th>
      <th>添加时间</th>
      <!--<th>修改时间</th>-->
      <th>操作</th>
    </thead>
    <?php $num = 0 ?>
    <tbody id="contentbody">
    {volist name="intrs.0.intr" id="v"}
    <tr>
      <td>
        <div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>
      </td>
      <td><?php echo $num; $num++; ?></td>
      <td>{$v->relationship}</td>
      <td>{$v->full_name}</td>
      <td>{$v->gender}</td>
      <td>{$v->nationality}</td>
      <td> <?php echo  date("Y-m-d H:i",$v->created_at)?></td>

      <td class="td-manage">
        <a title="编辑"  onclick="x_admin_show('编辑','{:url("Confervisa/details",array("id"=>$v->uid,"sid"=>$intrs[0]["sid"]))}')" href="javascript:;">
        <i class="layui-icon">&#xe642;</i>
        </a>
        <a title="删除" onclick='member_del(this,"{$v->uid}","{$intrs.0.sid}")' href="javascript:;"><i style="font-size: 17px;" class="layui-icon">&#xe640;</i></a>
      </td>
    </tr>
    {/volist}
    </tbody>
  </table>
  <div class="page">
    <div id="demo3"></div>
  </div>
</div>
<script type="text/javascript" src="__CDN__/admin/visa/js/visaList.js" charset="utf-8"></script>
{include file="./layout/footer.html" /}